using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 比赛队伍概要dto
    /// </summary>
    public class GameTeamSimpleDto : BaseDto
    {
        /// <summary>
        /// 比赛ID
        /// </summary>
        public Guid GameId { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 队伍名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? HeadUrl { get; set; }

        /// <summary>
        /// 比赛订单ID
        /// </summary>
        public Guid GameOrderId { get; set; }

        /// <summary>
        /// 报名人ID
        /// </summary>
        public Guid JoinUserId { get; set; }

        /// <summary>
        /// 报名状态：1报名中、2已报名、5已拒绝、9已取消
        /// </summary>
        public GameJoinStateEnum JoinState { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public PayOrderStateEnum PayState { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string? JoinUserName { get; set; }

        /// <summary>
        /// 添加人CODE
        /// </summary>
        public int? JoinUserCode { get; set; }

        /// <summary>
        /// 积分
        /// </summary>
        public int Point { get; set; }

        /// <summary>
        /// 积分排名
        /// </summary>
        public int PointRank { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal? PayAmount { get; set; }

        /// <summary>
        /// 退款金额
        /// </summary>
        public decimal? RefundAmount { get; set; }
    }
}
